-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-115999: Note Python 3.14 free-threaded changes in What's New #131285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Doc/whatsnew/3.14.rst
Outdated
and 10-15% slower than the default build. | ||
|
||
This work was done by many contributors, Matt Page, Neil Schemenauer, | ||
Sam Gross, Thomas Wouters, Donghee Na, Kirill Podoprigora and Ken Jin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also added the @Fidget-Spinner, because I remember his early design involvation while he worked at Quansight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the main thing I did that is coming in 3.14 is the stackrefs. But we needed that for the intepreter anyways so it probably counts? Either way I can be left out if the others feel inclined to.
Anyway, feel free to propose change as same as what we did for 3.13. |
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
@Yhg1s Do you have suggestions for this What's News? I think that you can modify more properly :) |
Co-authored-by: T. Wouters <[email protected]>
Co-authored-by: T. Wouters <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines need to be wrapped to 80 chars.
Impossible to review at the moment
Co-authored-by: Stan Ulbrych <[email protected]>
Doc/whatsnew/3.14.rst
Outdated
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly improved. The implementation described in PEP 703 was finished, including C API changes, and temporary workarounds in the interpreter were replaced with more permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now enabled in free-threaded mode, which along with many other optimizations greatly improves its performance. The performance penalty on single-threaded code in free-threaded mode is now roughly 5-10%, depending on platform and C compiler used. | ||
|
||
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, Dino Viehland, Nathan Goldbaum, Ralf Gommers, | ||
Lysandros Nikolaou, and many others. | ||
|
||
Some of these contributors are employed by Meta, which has continued to provide significant engineering resources to support this project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly improved. The implementation described in PEP 703 was finished, including C API changes, and temporary workarounds in the interpreter were replaced with more permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now enabled in free-threaded mode, which along with many other optimizations greatly improves its performance. The performance penalty on single-threaded code in free-threaded mode is now roughly 5-10%, depending on platform and C compiler used. | |
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, Dino Viehland, Nathan Goldbaum, Ralf Gommers, | |
Lysandros Nikolaou, and many others. | |
Some of these contributors are employed by Meta, which has continued to provide significant engineering resources to support this project. | |
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly | |
improved. The implementation described in PEP 703 was finished, including C API | |
changes, and temporary workarounds in the interpreter were replaced with more | |
permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now | |
enabled in free-threaded mode, which along with many other optimizations | |
greatly improves its performance. The performance penalty on single-threaded | |
code in free-threaded mode is now roughly 5-10%, depending on platform and C | |
compiler used. | |
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, | |
Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, | |
Dino Viehland, Nathan Goldbaum, Ralf Gommers, Lysandros Nikolaou, and many others. | |
Some of these contributors are employed by Meta, which has continued to provide | |
significant engineering resources to support this project. |
Wrapped it for you:-)
Co-authored-by: mpage <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Doc/whatsnew/3.14.rst
Outdated
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly improved. The implementation described in PEP 703 was finished, including C API changes, and temporary workarounds in the interpreter were replaced with more permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now enabled in free-threaded mode, which along with many other optimizations greatly improves its performance. The performance penalty on single-threaded code in free-threaded mode is now roughly 5-10%, depending on platform and C compiler used. | ||
|
||
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, Dino Viehland, Nathan Goldbaum, Ralf Gommers, | ||
Lysandros Nikolaou, Kumar Aditya, and many others. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add Edgar Margffoy as well please? We forgot him in the 3.13 notes I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Thanks @corona10 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…pythongh-131285) --------- (cherry picked from commit f28cbc9) Co-authored-by: Donghee Na <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: T. Wouters <[email protected]> Co-authored-by: mpage <[email protected]>
GH-133824 is a backport of this pull request to the 3.14 branch. |
gh-131285) (gh-133824) gh-115999: Note Python 3.14 free-threaded changes in What's New (gh-131285) --------- (cherry picked from commit f28cbc9) Co-authored-by: Donghee Na <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: T. Wouters <[email protected]> Co-authored-by: mpage <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--131285.org.readthedocs.build/
--disable-gil
builds #115999